home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1430 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.5 KB  |  52 lines

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: cmahony@ibm.net (Colin Mahoney)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: [Q] possible == Borland + STL; // but how ?
  5. Date: Wed, 10 Jan 1996 23:56:15 GMT
  6. Message-ID: <4d1i6v$2pj0@news-s01.ny.us.ibm.net>
  7. References: <4cm64c$goq@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: slip139-92-41-204.emea.ibm.net
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. rothpn@usa.pipeline.com wrote:
  12.  
  13. >I've read several posts indicating that the Borland compiler 
  14. >was used to develop the STL, so I believe it. 
  15. >The details, however, are not obvious to me; hence these Q's: 
  16. >- What is the (any) reference that I could start with? Do 
  17. >you recommend Mark Nelson's book? 
  18. >- where do I #define __MINMAX_DEFINED? 
  19. >   - in the IDE? 
  20. >   - before certain #include's? 
  21. >It seems to me that this #define must be global, otherwise 
  22. >"large" projects will founder on the order in which #include's 
  23. >must be specified. 
  24. >-- 
  25. >Grace + Peace 
  26. >Peter N Roth 
  27. >Engineering Objects International      rothpn@usa.pipeline.com 
  28. >Engineering and Scientific Software: Delphi    C++    f77 --> C++ 
  29. >On-Site Andragogy for Beginning and Experienced Programmers
  30.  
  31. There was an article by Mark Nelson the December edition of Dr Dobb's Journal.
  32. The source code includes the following lines at the very beginning:
  33.  
  34. #define __MINMAX_DEFINED
  35. #pragma option -vi-
  36.  
  37. the option just enables inline inline functions. Hope it helps - I haven't
  38. compiled iy myself.
  39.  
  40.  
  41.  
  42.  
  43.  
  44. --
  45. Colin Mahoney    ( cmahony@ibm.net )
  46. Sabadell, Barcelona
  47. --
  48.  
  49.